Forum Replies Created
-
AuthorPosts
-
Hi!
It’s me again lol
I found the solution thanks to the documentation.
Thank you again for your quick answer!
Have a good day!
PascalThank you for your quick answer!
I’m sorry but now I have another question how can i change (or remove) the image which hides the video? (http://img.youtube.com/vi/HFew6KXUsX0/maxresdefault.jpg)
Thank you
PascalThank you very much!
It works now.
Have a good day!
PascalHi MagneticBloom!
I had the same problem, I couldn’t track the click on the Form button with GTM. It is because the theme already uses a listener.
I managed to fix it, I hope it will be help you to do it as well.
You have to add a simple code in the javascript file called “shortcodes.js” (\wp-content\themes\enfold\js)
The code you have to add is
return dataLayer.push({'event': 'FormSent'});
just after the line :
form.slideUp(400, function(){responseContainer.slideDown(400, function(){ $('body').trigger('av_resize_finished'); }); send.formElements.val('');});
. I think is line 2352.
Once you made it, you have to create a Tag in Google Tag Manager (your event categoy, action, labels…) and set up a rule.
To make the tag fired, the rule has to be like that:
{{event}} equal FormSent
I hope it will work for you.
Cheers
PascalHi Ismael !
Thank you for your feedback. The “Use Google CDN version of jQuery” was already desactivate.The code added is :
<div style="margin-left:500px;margin-top:80px"><object height="308" width="515"><param name="movie" value="https://www.youtube.com/v/HFew6KXUsX0?html5=1&rel=0&autoplay=0&enablejsapi=1" /><embed height="308" src="https://www.youtube.com/v/HFew6KXUsX0?html5=1&rel=0&autoplay=0&enablejsapi=1" type="application/x-shockwave-flash" width="512"></embed></object></div>
I made some search on internet and apparently Google recommends to insert youtube video with the iframe code (to make sure it works with all browser) but I tested in the layerslider and it doesn’t show (in any browser). I can just see a link instead of the video.
<iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/HFew6KXUsX0″ frameborder=”0″ allowfullscreen></iframe>
If it’s possible to make it work with the iframe code i will prefer because it’s easier to track all the interactions with the video via Google Tag Manager.Thank you !
PascalHi Yigit,
Thank you for your answer.
I have the last version of firefox (v29). I don’t understand why the youtube video appears correctly on the “about me” page and doesn’t show on the homepage (in the layerslider). If it was a flash issue, I couldn’t see the video anywhere (I think).Thank you for your time. Just one thing, if I made the slider myself where i have to insert the code to make it appear just below the breadcrumb?
Thank you
PascalHi,
I found the issue, it was because of a cache plugin.
Thank you
Pascal -
AuthorPosts