_gas.setSocialActionsTrackedAlsoAsEvents

Extended Google Analytics measuremet.

_gas.setSocialActionsTrackedAlsoAsEvents

Description

_gas.setSocialActionsTrackedAlsoAsEvents (flag : bool) : void

Sets if social networks actions will be tracked also as events. It's necessary when you want to set it up as a goals. Actions are always tracked with method _trackSocial.

Parameters

flag

If true, all social networks actions will be tracked with method _trackSocial and also with method _trackEvent.

Return value

Nothing

Example
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="analytics.js"></script>
<script type="text/javascript"><!--
    _gas.setSocialActionsTrackedAlsoAsEvents(true);
    _gas.create('UA-123456-7', 'orig');
//--></script>