-
Hi, i would like to Track with GTM play of video on website.
actualy my tracking is ok for video “iframe” but not your system.
parameters of my tracking :
Catégorie : video
Action : {{Video Status}}
label : {{Video Title}}
valeur : 1Have you got any solution ?
thk 🙂
- This topic was modified 6 years, 3 months ago by emmanuel.
Hi, to do this you need to hook in the javascript of the theme. Such kind of customizations are not part of the normal support, so I can only guide you to the file containing the javascipt.
The player ia managed by PLYR library, and the play action is triggered in the file ttg-main.js lines 770 till 785.You should trigger your action together with the line
$.qtWebsiteObj.videos[0].play();
If you are not a developer, you need for sure to hire one for this.
Also please remember to enable, in the customizer, the developer option, which will load the unminified javascript, otherwise your changes won’t take effect.
hi ok thank you we are working on it.
another question, when I pass the website in SSL and I write the https command of my website I am redirecting to the http version which probably poses problem afterwards with my redirects.
Do you know where the problem comes from?
Thk you.
hi, it’s ok for ssl.
I don’t know why in the beginning we passed auto in http.
Problem ok !have a good evening.
ManuHi,
another little problem,
As you can see on screen there is a problem with twitch :I use a plugin twitch also but when it not present on website i see a mixed content issue despite uninstalling the plugin
i think it is your script of twitch but i could be wrong
Regards,
manuHi that’s nothing to worry about, twitch player has issues, often also caused by chrome extensions (you may see if you disable ad block that some of them will disappear, as if you read the log it says it can’t load the ads, and similar scripts).
All of the errors comes from twitch itself, is not theme stuff, but till it works you don’t need to worry about it, is just their problem.
Most of the embedded players have tons of console errors and warnings, also youtube, soundcloud, mixcloud and many others.This is because they try to do things that sometimes they can’t do for privacy or browser limitations, so just ingnore them.
The topic ‘Tracking Gtm video’ is closed to new replies.