Skip to content

Instantly share code, notes, and snippets.

@moeproblems
Created February 26, 2011 22:45
Show Gist options
  • Save moeproblems/845703 to your computer and use it in GitHub Desktop.
Save moeproblems/845703 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
GA_googleAddSlot("ca-pub-7137941865592088", "yfrog2_landing");
GA_googleAddSlot("ca-pub-7137941865592088", "yfrog_Seacrest_LandingPage");
{if $screen_name}
GA_googleAddAttr("passback", "loggeduser");
GA_googleAddAttr("twitterid", "{$screen_name}");
{/if}
</script>
{assign var='modded' value=false}
{foreach from=$targeting item=m}
<script type="text/javascript">GA_googleAddAttr("category", "{$m.cate_type}");</script>
{assign var='modded' value=true}
{foreachelse}
{if !$ad_no_show}
{assign var='modded' value=true}
{/if}
{/foreach}
{if $modded}
<script type="text/javascript">
GA_googleAddAttr("category", "moderated");
GA_googleFetchAds();
</script>
{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment