Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parentElement to GtmSupportOptions #422

Merged
merged 2 commits into from
May 27, 2024
Merged

Conversation

erikuit
Copy link
Contributor

@erikuit erikuit commented May 8, 2024

#84 added the parentElement config option so we can load the script into head instead of body. It was added to LoadScriptOptions but not GtmSupportOptions, which causes Typescript to throw an error 'parentElement' does not exist in type 'VueGtmUseOptions'.

This PR adds the option to GtmSupportOptions to fix that.

@erikuit erikuit requested a review from Shinigami92 as a code owner May 8, 2024 13:06
@Shinigami92 Shinigami92 changed the title fix: Add parentElement to GtmSupportOptions Add parentElement to GtmSupportOptions May 27, 2024
@Shinigami92 Shinigami92 added the documentation Improvements or additions to documentation label May 27, 2024
@Shinigami92 Shinigami92 merged commit a72d1a0 into gtm-support:main May 27, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants