Insert piwik tracking code in wiki pages

All-
i need to insert piwik tracking code in certain wiki pages (don't want to track them all). is there anyway to modify just certain pages? i cannot find them on my server. Code below
Thanks,
Chad
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.mscei.com/piwik/" : "http://www.mscei.com/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript></noscript>
<!-- End Piwik Tag -->

Actually, you can use the double bracket entry to insert a link onto a wiki even if the page name doesn't match the title.  To do that use the following format [[pagename|page title]].  The same format will work if you add a new page and want a
different title on the page than the page name.
1) Yes, you can use the Link approach to add Links from within the site collection.  
2) SharePoint knows its in the same site collection based on the beginning of the URL.  It can identify the address of the site collection from the url and the properties of the Wiki Site.
3) The main difference between the two approaches is that using the Link method you can add a link to a site external from SharePoint.  Using the SharePoint method you can't.  For links inside the site collection the result should be the same in
either case.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.

Similar Messages

  • What are the benefits of adding the Google Tracking Code to web pages.

    Hi everyone - I completed my site a few months ago but I'm not happy with the Google ranking I'm getting
    after typing "leadlight windows" into the Google search field.
    I've got Google verification and made sure I've got descriptive titles for my pages and alt text for photos
    plus plenty of "leadlight windows" in my text and headings.
    After months of doing a Google search, to my surprise other sites with what seems like less mention of "leadlight windows"
    are getting a much higher ranking than mine.
    I was wondering wether inserting the Google Tracking Code on each page might give me a higher ranking
    than I'm getting.
    My site is www.leadlightdlux.com
    Many thanks in advance for anyone that has clues about Google Tracking Code.

    Google Analytics is only half the battle.  The analytics starts the process for Google and they build off it.  What you need to examine next is Google Webmaster Tools: https://www.google.com/webmasters/tools/home?hl=en .  On that tool under "Your Site on the Web" you will see an option for keywords.  This will show you what Google sees.
    Lastly Google has recently updated their code whether you are subdomains, multiple domains, etc and this code is placed in the head of your document instead of the end of the document, so updating your code may help there as well.

  • How do I add a tracking code to my page?

    I want to add a tracking code to my page but iWeb doesn't seem to allow it. I copied the html code from a 3rd party site (Google Analytic) and tried pasting into the html widget in iWeb but when I check the tracking report it keeps telling me the code has not been installed. I have tried placing the text block at various places on the page and still no luck. The directions at Google Analytic tell me where I need to paste it into the html code but to do that I need an html editor or a text editor that can read html.
    Am I doing something wrong with the html widget? If a tracking code can't be added with a widget is there a way I can edit the source code directly? A text editor, maybe? I tried Word but but it wouldn't open the page.
    Thanks for any help!
    Rikki

    There's a way to add Google Analytic to pages without having to edit the page. It's a little bit of work but it's a one time process. Read about it here: http://www.wyodor.net/blog/archives/2010/05/entry_316.html
    Or you could add StatCounter to each page to get not only the number of hits but lots more information:
    Click to view full size
    This tutorial describes how to add it: Old Toad's Tutorial #13 - Adding a StatCounter as an HTML Snippet.
    OT

  • I dw file.dwt files may insert server side code supposed all pages depended are in the same code eg

    I dw file.dwt (exact like this ext) files may insert server side code supposed all pages depended are in the same code eg cfml?

    I'm sorry, but your English is pretty difficult for me to figure.  I'm assuming your asking how to have a Dreameraver template support ColdFusion. It hat is what you are asking, the template file extension should be:  YourTemplateName.dwt.cfm  - this tells Dreamweaver is a ColdFusion template.
    I hope I understood you and that this helps.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Shopping Cart for Adobe Dreamweaver
    available in PHP, ColdFusion, and ASP
    Stay updated - http://blog.cartweaver.com

  • Integrating tracking codes into iweb.....

    I was so successful in solving a problem I was having here last night that I thought Id throw another question out that has been baffling me, not hard to do I might add, how do you integrate tracking codes at the beginning of each page so that Google analytics for example can track the traffic on your iweb sites??
    This is also a requirement if you are using some affiliate programs so it is really very important to do. Any help anyone out there can give is VERY much appreciated! This is without a doubt the best information forums I have ever read!!....Thanks again in advance for any help on this subject!!...Matt
    http://www.rdeal4u.net

    Google Analytics code (ga.js) required the script to be added into your page source to precisely track the page; Step 4 in the following:
    http://www.google.com/support/analytics/bin/answer.py?answer=66983#0.1.1_step3
    adding GA code in HTML Snippet will cause the code to track widget markup pages, which will give inaccurate results.
    that at this time there is no way to enter tracking code into the pages.
    This is true, because they don't know iweb inner working bits.
    But I can prove them wrong, here is example of HTML code inserted in my page:
    http://hdl.50webs.com/Test/
    the floating nav bar and I have urchin.js loaded from google are coded directly to the page (you need to look at Safari Activity window)
    They suggested I go to www.apple.com/feedback then select the appropriate product (iweb) and seen in a message on the subject directly to the engineers.
    I suggest all that are having a problem with this go ahead and send a message to them as well, you know what they say, the squeaky wheel gets the grease!!
    It's a good idea.

  • Tracking codes

    Double click and Media Mind tracking codes can be implemented? How should I do insert the tracking codes? Do I need an API?

    Hi Jefn
    Are you reffering at tracking number ? Take a look at this article
    http://kb.worldsecuresystems.com/kb/orders.html#id_80980
    Regards

  • Can I insert facebook conversion tracking code in adobe muse?

    Can I insert facebook conversion tracking code in adobe muse? If so, exactly where and how do I do so? Thanks!

    Hello,
    As per the instructions on link below you need to insert the code in <Head> section of the page.
    Conversion Tracking and Optimization | Facebook Help Center | Facebook
    Once you receive the code from Facebook you can insert it in Muse site.
    Open the page in Design mode and go to Page > Page Properties > Metadata > Html for <head>
    Paste the code in the space mentioned in the screenshot and you should be all set
    Regards
    Vivek

  • How is add/insert jpeg/gif files on wiki (code gallery)

    Hi;
    I prepared new wiki-code gallery page. I must insert/add jpeg/gif files on my page. But I dont know  How is add/insert jpeg/gif files on wiki (code gallery).
    Please help me.
    Thanks.
    http://wiki.sdn.sap.com/wiki/display/Snippets/NewTimeDomainandConversionRoutineforTotalTime

    Hi;
    Mr Moshe Naveh helped me. He sended me new template page.
    I again prepared my wiki with new template.  ( http://wiki.sdn.sap.com/wiki/pages/createpage-entervariables.action?spaceKey=stage&templateId=113147905 ) I added jpeg files on new wiki page.
    Then He moved my new page.
    Thanks him.
    Best regards.

  • Inserting image in a wiki page

    Hi All,
    How to add image in a wiki page. I want to insert an image in between the contents of the wiki page.
    thanks & regards,
    Manoj

    Refer this -
    https://wiki.sdn.sap.com/wiki/renderer/notationhelp.action?section=images

  • On Firefox 3.6.x on Mac and Windows, Google Analytics tracking code leads to an Error 400 page

    Our business sent out an email campaign that has several links containing Google Analytics tracking code in the URL.
    In the tracking code, which is automatically generated via the email campaign software, is an em-dash. The URLs works in every browser (Google Chrome, Safari, Windows) and in older versions of FireFox. They do not work in 3.6.x versions of FireFox in both Mac and Windows.
    As a result, when customers click on a link in the email, they get a page that says "HTTP Error 400 - request is badly formed" because FireFox interprets the em-dash as garbage.
    Once this error occurs none of the pages in the site can be accessed unless a specific cookie is removed.
    Seeing how many people do not know how to clear cookies - it is especially cryptic in the Windows version of FF 3.6.10 - what are the chances that there will be a release of Firefox to remedy this problem? And is there anything else that could be done?

    Weird. We are having this same problem as well. Ours happens in Chrome as well. What I have figured out is -at least for us - is its somethign to do with the Google Analytics tracking cookie on our site. If I go to cookies and then delete the _umtz cookie, the site will load fine. In the time being I have set "pageTracker._setCampaignTrack(false); " in our tracking code to keep the script from dropping the cookie in users browsers.

  • Insert Pictures from SharePoint option missing from Wiki Page

    Hi,
    I have a team site, which was migrated from SP 2010 to 2013.
    In the site pages, I have added a wiki page. In the ribbon - "Insert" - Picture - "From SharePoint" option is missing.
    I have checked various sites, which say publishing feature should be enabled. But in another site (also a team site i can see the "From Sharepoint" option available).
    How to get the "Insert" - Picture - "From SharePoint" option?
    Thanks

    Hi.
    Refer this link
    Here is a thread about it on msdn
    The essence from the thread:
    You'll need to activate SharePoint Server Publishing
    It is not available in enhanced rich text but it is in Publishing HTML. Change your column type to Publishing html and it will work
    http://sharepoint.stackexchange.com/questions/22815/how-to-enable-the-from-sharepoint-link-when-inserting-a-link-in-a-blog-post
    http://jopx.blogspot.in/2012/05/solve-disabled-insert-picture-from.html
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to directly insert pictures inside a wiki page without the need to enter the picture's properties

    I am working on a publishing site collection using the enterprise wiki template. Add when I want to add a new Picture from my Pc to the wiki page, I will be prompted with the following dialog:-
    So can anyone advice how i can bypass this dialog and directly add the imag to the wiki page?
    i tried modifying the "Images" content type by hiding the above fields, but still i will be prompted to enter the following :-

    Hi,
    According to your post, my understanding is that you want to directly insert pictures inside a wiki page without the need to enter the picture's properties.
    Per my knowledge, you can use javascript to bypass Edit Properties Page while uploading pictures.
    Here are some similar articles for your reference:
    How to bypass Edit Properties
    Page while uploading documents in a document library
    How to bypass Edit Properties Page while uploading documents in a
    SharePoint and .NET: How to bypass Edit Properties Page or Skip EditForm.aspx Page while uploading documents in a document library
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Why does DW CC 2014.1 Fluid Grid load HTML file that contains Google Analytics Tracking Code script so slowly?

    I exclusively work in Fluid Grid since my site is a Responsive Web Design.  I'm having trouble with slow load time in DW CC 2014.1, when my file, as they all do of course, has the Google Analytics Tracking Code script.
    I'm on a Windows 8.1 using a Dell Precision M3800 Laptop with Memory 16GB (2x8GB) 1600MHz DDR3 . Each of our site's 180 or so web pages, of course, has its Google Analytics Tracking Code script. It is placed, following Google instructions, as the last entry in the <head>.  Google Analytics does not instruct to place the script in the JS Folder with an scr to it, but rather in the <head>.  It takes up to one and a half or two minutes for DW CC 2014.1 to load the Google Analytics Tracking Code script .  That is, the grid does not show in Live View until finally analytics.js shows up in the Document Toolbar. A minute or two can add up when every page you load takes this long.  And, making new Fluid Grid pages, as is done, through the Save As command; every new page made you have to deal with the minute or two wait time since all those pages have the Google Analytics Tracking Code script.  Therefore, this time component alone, assuming I'm accessing and/or making 20 pages per week (and in our business this is easily the case) the math is that I'm wasting between 17 and 35 hours per year just with DW CC 2014.1 loading the much needed Google Analytics Tracking Code script.
    I have loaded HTML files that do not have the Google Analytics Tracking Code script as a test and those files load at the normal quick speed.
    Therefore, the new Chromium Embedded Framework browser engine has a serious load problem when it confronts an HTML5 file with a Google Analytics Tracking Code script.  Oddly, the prior DW CC 2014 version, with the old browser engine did not have this slow-load problem since I was loading these same files in that DW CC version up until October 8th or so.
    I think this new browser engine is a Google platform that apparently has a problem rendering or loading a Google Analytics Tracking Code script.  That makes no sense.
    Anyone else had this particular slow-load problem with DW CC 2014.1?
    Thanks.

    Wow.  That sure solved the slow-load problem, at least using your suggested snippet in a simple test HTML file.
    Per Google's instructions, I pasted the snippet before the closing </head> tag.  And, even in that positioning in the file; the file loaded at the speed (about one second) that it did prior to DW 2014.1.
    Two questions.
    Will this snippet provide the same tracking data as my current GA snippet?
    Because my current GA snippet is in about 200 web pages, can I retain the old snippet in most of them and place the new snippet in my approximately 5 main web pages as well as my templates so my new pages, as well as my main pages, have the new snippet.  That is, can I have both snippets (i.e. old snippet in earlier pages and new snippet in main pages and new pages to be made going forward) in my website at the same time?
    Of course I would not have both the old and new snippet in a web page at the same time.
    I greatly appreciate any assistance anyone can provide me on this issue and thank all of you in advance.
    I've provided code for both simple test files below.
    Code for Asynchronous Syntax of GA script:
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Test Asynchronous GA Tracking Code In Head</title>
    <link href="css/boilerplate.css" rel="stylesheet" type="text/css">
    <link href="/css/style.css" rel="stylesheet" type="text/css">
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="js/respond.min.js"></script>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-73425000-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="div1" class="fluid">
        <div id="test1" class="fluid ">This is the content for Layout Div Tag "test1"</div>
       <div id="test2" class="fluid ">This is the content for Layout Div Tag "test2"</div> 
    </div>
    </body>
    </html>
    Code for older GA script snippet:
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Test GA Tracking Code In Head</title>
    <link href="css/boilerplate.css" rel="stylesheet" type="text/css">
    <link href="/css/style.css" rel="stylesheet" type="text/css">
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="js/respond.min.js"></script>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-73425000-1', 'auto');
      ga('send', 'pageview');
    </script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="div1" class="fluid">
        <div id="test1" class="fluid ">This is the content for Layout Div Tag "test1"</div>
       <div id="test2" class="fluid ">This is the content for Layout Div Tag "test2"</div> 
    </div>
    </body>
    </html>

  • How do I add tracking code to a Flash website?

    Tracking software requires that you insert their code into the page you want to track (I'm using StatCounter).  I installed a Flash website template and it just has one .html file where I can insert the code.  That tracks visits to the first page with no problem but if a visitor clicks on different pages of the site, it doesn't get tracked.  Does anyone know how and where to add code so that each page of the Flash site can be tracked?
    Note, in my template a part of each page is found in different symbols.  For example, the first column of every page is located in a symbol called PAGES1 and the second column of every page is located in a symbol called PAGES2, and the third column located in PAGES3.  Different layers within each symbol correspond to the different pages.  So I'm at a loss of how I could get this tracking code to be able to track each page visit, since each page shares a symbol with another page.  Anyone know?

    http://code.google.com/apis/analytics/docs/tracking/flashTrackingIntro.html

  • Can use asp code in xsl page?

    hello,
    i want to know can i use asp code in xsl page ..if so, please let me know.
    thz
    nway nge

    Hi,
    now we have the tinyMCE editor, where you can insert and edit html-code. It works fine now for the layout,
    but there are still a few problems with the links..
    In the edit mode there are displayed all km images out of the km. But the images aren't displayed under the portal role, when i publish the page. And all the links like one to a wiki or the TBN links doesn't work, too.
    Can anybody help me further?
    Thanks in advance,
    Lydia

Maybe you are looking for

  • Bought video adapter for orig ipad, it does not fit

    I bought a new composite video adapter cable for my original ipad. It came in and does not fully seat. Ipad doesn't recognize cable. Apple sent a new one...same story.

  • WBS upload

    Hi, I have to upload WBS elements using BAPI. The exact thing is to attached the WBS to a top level PRN depending on the no. of WBS the PRN can hold.WBS has to be attached to a default SAP cost centre and then attached. Kindly suggest me how do I pro

  • How to use ans E\external camera as choice in ichat ?

    I have a macbook pro with a built in isight. I've tried using two other cameras as video source with no luck. both are cannon mini viedo cameras, The first camera I needed to get a firewire adaptor for. from a dv port of a camera to the firewire port

  • JNI Application running in ms-dos but throws an exception in applet

    Hi! I have a java application which calls a DLL using the JNI. This works perfect if I execute the java program from my command line (in ms-dos) But when I try to do it in an applet, it indeed runs and do everything ok, but at the end of the executio

  • Having problems with lack of sound in movies

    i at first was having trouble transferring movies to my iPod (sad, i know), but after reading about the "convert" command, was able to transfer the file to my iPod. however, now when i try to play the file on my iPod, there is no sound. at all. sugge