Custom Dimension set up

I copy and paste plug-in for Custom Dimension in Plugin folder and run the command also and Custom Dimension menu is visible to me but when i click on the menu it continuously loading.

also where to put code for Custom Dimension.

I use this code
_paq.push([‘setCustomDimension’, “1”, “My Custom DIMENTION”]);

but it is not working.