Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Thank you!
Just curious, where do these icons come from? Because for me they show up blank.
Attachments:
You must be logged in to view attached files.Hi Ed, Mohammad:
So, if I want unique event tracking for every button I should create unique JS codes?
Example:
Button on careers pageJS:
<script> jQuery(document).ready(function($){ $("a.eventTrackcareera").click(function(e){ //e.preventDefault(); _gaq.push(['_trackEvent', 'button, apply, senioraccountexecutive']); }); }); </script>
Button Code
[sf_button colour="green" type="sf-icon-reveal" size="large" link="/learn-more" target="_blank" icon="fa-thumbs-o-up" dropshadow="yes" extraclass="eventTrackcareera"]Apply[/sf_button]
Then, if for another job position i’d have to create a new iteration of JS code like the following:
<script> jQuery(document).ready(function($){ $("a.eventTrackcareerb").click(function(e){ //e.preventDefault(); _gaq.push(['_trackEvent', 'button, apply, semmanager']); }); }); </script>
With the associated class code:
Button Code
[sf_button colour="green" type="sf-icon-reveal" size="large" link="/learn-more" target="_blank" icon="fa-thumbs-o-up" dropshadow="yes" extraclass="eventTrackcareerb"]Apply[/sf_button]
<br>
Is this the correct implementation?Hi Mohammad.
1) What do I name the extra class? Here is what the button code looks like currently:
[sf_button colour="green" type="sf-icon-reveal" size="large" link="/learn-more" target="_blank" icon="fa-thumbs-o-up" dropshadow="yes" extraclass=""]Tell me more[/sf_button]
2) Using your solution above, does that mean I will need to create a new class for every button I want to track? I ask this because ‘category, action, opt_label, opt_value, opt_noninteraction‘ are fields with variables dependent on where the button is and how the user interacts with the button. This way I can see more granularly my data in google analytics.
Hi Kyle,
I actually went through this thread before reaching out.
She is using the new GA Universal Analytics format:
ga(‘send’, ‘event’, ‘categorie’, ‘actie’, ‘label’);”
I need to know the implementation for this type:
onClick="_gaq.push(['_trackEvent', 'category, action, opt_label, opt_value, opt_noninteraction)']);
Wordpress version: 3.9.1
Dante version: 2.56If i wanted to use HTML to create an icon stroke and/or icon reveal – how would i do that?
The reason I ask is because I want to add event tracking to the button and I can’t seem to get it to work using the shortcodes.
Wonderful!
Last thing – how do I get my logo to resize on mobile on that page?
You’re the man, Kyle. Thanks for all your help.
Ha, yup!
So, how do I remedy the mobile issue? Do I need to set a static image somewhere?
Also, how do I make that parallax video taller vertically? Compared to the one at http://dante.swiftideas.net/home/home-eight-naked/ mine is almost 100px shorter.
Hi Kyle,
Thanks so much for the help.
On mobile, i’m seeing the attached screen shot.
I want it full size. Which is like ~600px wide.
Hi Kyle,
Ok – parallax is set up on page id=12268 (my home page).
Let me know if you need anything else.
Thanks!
This reply has been marked as private.This reply has been marked as private.Hi Guys!
Here is a test page I created –> http://www.brightforestmedia.com/?page_id=12474
Let me know your thoughts.
Thanks so much for the help 🙂
-
Posted in: We hit Power Elite.