jocelyn72s
Forum Replies Created
-
Forum: Plugins
In reply to: [Accordion Blocks] Tracking open/close accordion as a GA eventI solved the issue with the help of an italian developer of a GTM facebook group: https://www.facebook.com/groups/1683981325147575
This is the solution (maybe it can be useful to someone with the same problem).
TO track the open/close as event in GA (Google Analytics) with GTM (Google Tag Manager):
1- go to GTM and create a custom Javascript in the variables:function() { var accordion = document.getElementById("{{Click ID}}") var status = accordion.getAttribute('aria-expanded') return status; }
Save as “JS – Open/Close Accordion” (for instance)
2- create a new variable
Type: search table
{{JS – Open/Close Accordion}}
Input:
True–>Open
False–>Close
Save as: Open/Close Accordion (for instance)3 create a new activator
Activator type: Clic – all elements
Activation by: some clic
Conditions:
Clic classes contains c-accordion__title js-accordion-controller
Page URL coontains [your URL]
Save as “Click on accordion” (for instance)4- Create a new tag (Universal Analytics)
type: Event
Category: Accordion Click
Action: {{Open/Close Accordion}}
label: {{Click Text}}
Hit from non interaction: False
GA settings: your ga settings
Advanced: tag activation options –> One time per event
Refer to the activator you created on point number 35- Test & Deploy
Forum: Plugins
In reply to: [Accordion Blocks] Tracking open/close accordion as a GA eventCould you please send me the javascript function which returns the value of “aria-expanded”?
With this, I could setup directly a variable into Google Tag Manager.
Thank you again for your kind support!Forum: Plugins
In reply to: [Accordion Blocks] Tracking open/close accordion as a GA eventWhen I tried to set up a custom tag, I got these errors:
Error at line 2, character 3: This language feature is only supported for ECMASCRIPT_2015 mode or better: const declaration.
Error at line 7, character 4: This language feature is only supported for ECMASCRIPT_2015 mode or better: const declaration.- This reply was modified 3 years, 6 months ago by jocelyn72s.
Forum: Plugins
In reply to: [Accordion Blocks] Tracking open/close accordion as a GA eventFirst of all, thank you Phil.
I tracked the event directly in GTM, using these settings for the trigger:
Click Classes contains “c-accordion__title js-accordion-controller”
Page URL equals to <my page URL>and these others for the Tag:
Type: Event
Category: Click
Action: Accordion click
Label: Click text <– this was written after the activation of the anchor option in the pluginIt seems to work fine but it still cannot track the openings and collapse.
Any suggestion for GTM options?Amy news regarding this issue? Can Simeone please tell me ufficio the issue was solved and how?
I just updated to ver .14 but I cannot see tracked affiliate events anymore. Even exploring the html code I cannot see anything useful.
At the moment, any outbound link seems not to be tracked anymore.
Can you please help me?- This reply was modified 8 years ago by jocelyn72s.
Grazie per la risposta.
Purtroppo, non avendo un ambiente di sviluppo, avrei più di un problema a disabilitare tutti i plugin e a riattivare il tema standard.
Praticamente il mio sito diverrebbe inutilizzabile. Inoltre sarebbe quasi impossibile per me rinunciare al tema e ai plugin quand’anche fossero in conflitto con ICC.
Purtroppo non conosco il PHP.
Credevo che l’utilizzo di ICC fosse più semplice ma evidentemente un po’ di rudimenti di PHP bisogna conoscerli.
Ti ringrazio comunque!Forum: Plugins
In reply to: [Amazon Associates Link Builder] No Secret Key is acceptedThe issue was solved: I filled the first field with an invalid parameter.
Now it works fine.- This reply was modified 8 years, 3 months ago by jocelyn72s.
- This reply was modified 8 years, 3 months ago by jocelyn72s.
first of all, thank you for your kind update.
In order to use the events on my affiliate links, do I have to install Woocommerce?Forum: Plugins
In reply to: [itemprop WP for SERP/SEO Rich snippets] Download not foundNow it works. Can be updated directly from the admin console
Forum: Plugins
In reply to: [itemprop WP for SERP/SEO Rich snippets] Download not foundI still see only the 3.4.10 version.
Forum: Plugins
In reply to: [itemprop WP for SERP/SEO Rich snippets] Download not foundI have got the same issue.
So, they won’t work even if they are cloacked?
Thank you for your prompt reply.
From what I understand, while adding the event “add to cart” in the conversion page, by clicking on the link to add to your cart, it would not trace anyway? Conisder I’m using a cloacked link like this: https://www.xxx.com/product/B00000001/IT/affiliate-21/?cart=yHi all,
I already put the FB default pixel in my theme.
What I need to know is: can I add the fbq(‘track’, ‘AddToCart’); function only to selected pages or articles with this plugin?
Moreover: I use a different Call to actions (link, buttons, etc.) in my pages to let the users add to the amazon cart (affiliation program): will this plugin let me track all the conversions in FB?Thank you in advance for your kind support.