• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Ashlee Marie - real fun with real food

  • Recipes
    • Main Dish
    • Desserts
    • Breakfast
    • Sides
    • Bread
    • Soups & Salads
    • Drinks
    • Food Tutorials
  • Cakes
    • Cake Recipes
    • Cake Tutorials
    • Carved Cakes
    • Wedding Cakes
    • Smash Cakes
    • Party Cakes
    • How to Video Series
  • Parties
    • Complete Parties
    • Party Cakes
    • Party Food
    • Party Crafts & Decorations
    • Printables
    • Invitations
  • Holidays
    • Valentines
    • St. Patricks Day
    • Easter
    • Cinco De Mayo
    • Mothers Day
    • 4th of July
    • Halloween
    • Thanksgiving
    • Christmas
  • Travel
    • Culinary Travel – Cooking Schools
    • Family Travel
    • Disney
    • Universal Studios
    • Blogger Trips
  • Videos
    • Recipe Videos
    • Short Videos
    • Kitchen Tip Videos
    • Video equipment links
  • Crafts
    • How to & Craft Tutorials
    • Crochet & Knit Patterns
    • Decorations
    • Photoshop
    • Sewing Projects
  • Shop
    • Video equipment links
    • Baking and Kitchen equipment

Google Analytics Class Links and Codes

plug in
Google Analytics for WordPress by Yoast

double installed?
check your source page for ‘ga.js’

turn on demographics – yoast plug in
show advanced settings => check “host ‘ga.js locally” => insert code

https://stats.g.doubleclick.net/dc.js

Bounce Rate

You can add a ‘script’ to your footer.php in editor, just before the closing body tag.
or if you have a theme settings page paste in the footer section
Copy and paste =>

<script type=”text/javascript”>
(function (tos) {
window.setInterval(function () {
tos = (function (t) {
return t[0] == 50 ? (prseInt(t[1]) + 1) + “:00” : (t[1] || “0”) + “:” + (parseInt(t[0]) + 10);
})(tos.split(“:”).reverse());
window.pageTracker ? pageTracker._trackEvent(“Time”, “Log”, tos) : _gaq.push([“_trackEvent”, “Time”, “Log”, tos]);
}, 10000);
})(“00”);
</script>

Event Tracking
event tracking tracks anything the user clicks on, affiliate links, downloads, links to other urls’, etc…

onclick=”_gaq.push([‘_trackEvent’, ‘category’, ‘action’, ‘label’]);”

replacing category, action, label

• Category – The category/type of event, e.g. Affiliate Click
• Action – Give the action a name, eg click (I use affiliate programme name here)
• Label – Anything else you want to include (I use the page URL)

text link – <a href=”https://pt175.isrefer.com/go/BABY/ashleep/”>Add To Cart</a>

event tracking code – onclick=”_gaq.push([‘_trackEvent’, ‘affiliate’, ‘dating-divas’, ‘gender-reveal’]);”

final link – <a href=”https://pt175.isrefer.com/go/BABY/ashleep/” onclick=”_gaq.push([‘_trackEvent’, ‘affiliate’, ‘dating-divas’, ‘gender-reveal’]);”>Add To Cart</a>

Link up to webmaster tools
admin => account => property => property settings
scroll down to webmaster tools site, click edit, pick which site

Primary Sidebar

about ashlee marie
youtube facebook instagram twitter pinterest email rss

You have Successfully Subscribed!

Privacy Policy: We hate spam and promise to keep your email address safe. You'll receive email updates through AshleeMarie.com. You can unsubscribe at anytime.

Popular Posts

Homemade deep-fried monte cristo sandwich
homemade choco taco
one pot loaded baked potato soup
tamatoa cake - moana - disney
I love these candied strawberries, like a candied apple, a glorious crunch with a ripe strawberry center!

Footer

SEEN ON

as seen on
  • TV and Media
  • Privacy Policy

COPYRIGHT © 2007–2023 Ashlee Marie - Real Fun with Real Food

ashlee marie lets make some awesome
  • Recipes
    • Main Dish
    • Desserts
    • Breakfast
    • Sides
    • Bread
    • Soups & Salads
    • Drinks
    • Food Tutorials
    • Back
  • Cakes
    • Cake Recipes
    • Cake Tutorials
    • Carved Cakes
    • Wedding Cakes
    • Smash Cakes
    • Party Cakes
    • How to Video Series
    • Back
  • Parties
    • Complete Parties
    • Party Cakes
    • Party Food
    • Party Crafts & Decorations
    • Printables
    • Invitations
    • Back
  • Holidays
    • Valentines
    • St. Patricks Day
    • Easter
    • Cinco De Mayo
    • Mothers Day
    • 4th of July
    • Halloween
    • Thanksgiving
    • Christmas
    • Back
  • Travel
    • Culinary Travel – Cooking Schools
    • Family Travel
    • Disney
    • Universal Studios
    • Blogger Trips
    • Back
  • Videos
    • Recipe Videos
    • Short Videos
    • Kitchen Tip Videos
    • Video equipment links
    • Back
  • Crafts
    • How to & Craft Tutorials
    • Crochet & Knit Patterns
    • Decorations
    • Photoshop
    • Sewing Projects
    • Back
  • Shop
    • Video equipment links
    • Baking and Kitchen equipment
    • Back