-
AuthorPosts
-
May 28, 2019 at 10:44 pm #1104978
How can an id be added to a button so that events can be tracked? The GA Scroll Events Plugin works well in all my instances and sends info to Google Analytics, except for two buttons. I’ve been able to use div tags to add id’s where the html is visible, but I can’t find a solution for these two buttons.
I tried adding html code block before and after the button block on the contact page, but it made the two column layout break and change into a one column layout.
May 28, 2019 at 11:02 pm #1104980read carefully even on top of that : https://webers-testseite.de/edited-enfold-alb-elements/#buttons
for better advice i had to see a link and your two buttons you are talking about.
May 28, 2019 at 11:40 pm #1104985Thank you, but the ‘For developers custom id” field does not show at all.
Please see my previous note for the links and two buttons in question.May 29, 2019 at 6:52 am #1105069i’m Participant as you – so i do not see any private content data.
That field is there if you are using my edited alb element of the button.May 29, 2019 at 3:23 pm #1105182Thank you for trying to help! I appreciate it. I’m using the Button element. In Enfold theme options the box is checked for “Show element options for developers.” What is an “edited alb element of the button”?
June 1, 2019 at 12:37 pm #1106054Him s,
Please have a look at our docs here
Well, I see the class field is available. You can have unique class names and use them instead of ids.
Best regards,
VictoriaJune 2, 2019 at 5:37 pm #1106381Edited ALB Elements: they are – as the name says – edited elements, which are extended by input fields. For example, I always missed the fact that I couldn’t determine the heading tag for iconboxes. All those ALB (advanced layout builder) Elements are all in the enfold/config-templatebuilder/avia-shortcodes folder and could be replaced by child-theme pendents.
You can read here how to use them via child-theme: https://webers-testseite.de/edited-enfold-alb-elements/June 2, 2019 at 6:47 pm #1106411Hi m s,
Please let us know if all the above suggestions worked for you or if you need more help?
Best regards,
VictoriaJune 3, 2019 at 6:34 pm #1106781Thank you, using the class worked for the two problem buttons!
June 3, 2019 at 8:57 pm #1106821Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Adding ids to buttons so that events can be tracked in Analytics’ is closed to new replies.
