Skip to content

mwetmore/drupal-custom-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Custom Drupal Modules by mwetmore

This GitHub repository contains some experimental modules which I am messing around with at the moment. So of them are stable, some of them aren't but feel free to touchbase with me on Twitter (@mwetmore and I'll let you know. I'll also try and keep the entries below up to date so that you know exactly what is going on. Thanks!

Context Google Analytics

The Drupal Context Module (Link) is a powerful module that allows you to easily modify the placement of Blocks, Menus, and Styles based upon conditions which are defined. The Context Google Analytics module creates the option for a number of conditions based upon values in a users Google Analytics Cookie, once enabled the following conditions will be available:

  • GA Campaign
  • GA Source
  • GA Medium
  • GA Content
  • GA Term
  • GA Total Visits

This module source is for Drupal 7, I have a Drupal 6 version the works, and it requires that the following modules also be installed:

  • Token (In D7 Core) link
  • Context link
  • Google Analytics link
  • Google Analytics Tokenizer link

The conditions above to added to the Google Analytics token by search/media campaigns from Google, but you can create your own campaigns and place the page parameters where you want, and watch the traffic in GA, and then hide blocks by campaigns, or remove/show menus, skys the limit. More details on configuring Google Campaign Parameters here: http://support.google.com/analytics/bin/answer.py?hl=en&answer=1033867

Example URL Format: http://yourdomain.com/yourpage/?utm_source=testSource&utm_medium=testMedium&utm_term=testTerm&utm_content=testContent&utm_campaign=testName

About

Drupal Context Plugin Module to add new Context Conditions using Google Analytics cookie.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages