Skip to content
Browse files

Include _setAllowAnchor docs

  • Loading branch information...
1 parent 2e8fa6c commit ebcfb858dc5b7d2f20aee499ee04da7273fbca32 @eduardocereto eduardocereto committed
Showing with 16 additions and 0 deletions.
  1. +16 −0 README.md
View
16 README.md
@@ -212,6 +212,22 @@ The nice side effect is that you can have the same snippet for both websites.
Note that calling `_setDomainName` multiple times is not supported by _gaq.
+GAS respects the settings for `_setAllowAnchor` that you set.
+So if you set it to true all future calls to `_getLinkerUrl`, `_link` and
+`_linkByPost` used by gas will include the boolean `true` for the
+`opt_useAnchor` parameter.
+
+```javascript
+_gas.push(['_setAccount', 'UA-XXXXX-1']);
+_gas.push(['_setAllowLinker', true]);
+_gas.push(['_setAllowAnchor', true]);
+_gas.push(['_setDomainName', 'mysite.com']);
+_gas.push(['_setDomainName', 'myothersite.com']);
+_gas.push(['_setMultiDomain', 'click']);
+
+```
+
+
### Multi-Account Tracking
Easier handling of multi-account setups. You can fire an event to all accounts

0 comments on commit ebcfb85

Please sign in to comment.
Something went wrong with that request. Please try again.