- Posts: 13
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- How to enable Javascript API for Google Tag Manager to liste
How to enable Javascript API for Google Tag Manager to liste
- Irene Sutherland
-
Topic Author
- Offline
- New Member
Less
More
9 years 10 months ago #158366
by Irene Sutherland
How to enable Javascript API for Google Tag Manager to liste was created by Irene Sutherland
Hi there,
I'm trying to set up a tag in Google Tag Manager so I can track the playing of YouTube videos.
I am using AllVideos plugin (which is great by the way - thank you!).
This YouTube video explains how to set up such a tag, but it relies on using the YouTube embed code. The method requires adding the following code at the end of the YouTube URL:
?enablejsapi=1
Is it possible to set this up with your AllVideos plugin??
Thanks in advance for your your help
Rene
I'm trying to set up a tag in Google Tag Manager so I can track the playing of YouTube videos.
I am using AllVideos plugin (which is great by the way - thank you!).
This YouTube video explains how to set up such a tag, but it relies on using the YouTube embed code. The method requires adding the following code at the end of the YouTube URL:
?enablejsapi=1
Is it possible to set this up with your AllVideos plugin??
Thanks in advance for your your help
Rene
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #158371
by Krikor Boghossian
Replied by Krikor Boghossian on topic How to enable Javascript API for Google Tag Manager to liste
You need to enter the entire URL instead of just the ID so you can pass these arguments.
Please Log in or Create an account to join the conversation.
- Irene Sutherland
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 13
9 years 10 months ago #158388
by Irene Sutherland
Replied by Irene Sutherland on topic How to enable Javascript API for Google Tag Manager to liste
Thanks Krikor,
That worked a treat!
I realised that was the solution after I submitted my post.
I've got the data now reading nicely to my Google Analytics account.
Best regards,
Rene
That worked a treat!
I realised that was the solution after I submitted my post.
I've got the data now reading nicely to my Google Analytics account.
Best regards,
Rene
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #158392
by Krikor Boghossian
Replied by Krikor Boghossian on topic How to enable Javascript API for Google Tag Manager to liste
You 're welcome Rene :)
Please Log in or Create an account to join the conversation.
- Billy B. Edwards
-
- Offline
- New Member
Less
More
- Posts: 1
1 year 3 days ago #186756
by Billy B. Edwards
Replied by Billy B. Edwards on topic How to enable Javascript API for Google Tag Manager to liste
I know this thread is a bit older, but since then server-side GTM has become a thing. I’m wondering if that could be another way to handle listening for these events. I found this write-up: — do you think something like that could work with AllVideos, or would it still run into the same limitations?
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- How to enable Javascript API for Google Tag Manager to liste