Replace URL to add UTM code (google analytics) - coldfusion

I want to automatically replace the link to add UTM tracking codes when saving the content to the database. I'm using Coldfusion. For example:
<p>So this is my sample text.
Click here for the website.
Click here for the news.
Replace this with:
<p>So this is my sample text.
Click here for the website.
Click here for the news.
Can someone help me on this one?

Related

Master page showing unexpectedly

When I am clicking on the upload button in document web, inside that the section master page is showing (which should not).
How to remove this either in SharePoint designer or SharePoint 2013 itself?
Also, the site settings is showing up on home page (but it should show in a separate new page).
Screeshots:
It looks like you have a custom master page that is missing much of the core structure of a master page. In particular, an out of the box master page responds to a Query String value of "?IsDlg=1" to control if master page content is displayed in SharePoint dialog boxes along with primary page content.
To see this, go to a site without this custom master page and visit a list or library page. Edit the URL and, if there's no Query String (i.e. no "?" in the URL, add "?IsDlg=1" (no quotes), or if there is a query string add "&IsDlg=1" (no quotes). Notice the difference in the displayed content.
Something is missing from your custom master page. Either the lack of standard CSS classes or missing JavaScript references.
Can you reset the master page back to one of the out of the box master pages and check to see if everything is now working.
As the the Site Settings, someone must of added an IFRAME or a Page Viewer web part to the home page and set the URL to the Site Settings page.

How to add an anchor text in Oracle Apex 5.0

I want to create a login page where below the "Login" button I want to create a html text saying "Do not have an account? Click here to register." Here "Click here" will be an anchor text and when user clicks "Click here" it will redirect the user to the registration page.
I have searched for a whole day to achieve this but could not find any solution. I am new to oracle apex. Could anyone help me explaining the procedure?
Create Static content sub region on Login region, choose style "Blank with attributes", just write HTML code:
Sign Up!
That's all.
One way would be to create a Display As Text item with the source:
Do not have an account? Click here to register.
Set Escape HTML to "No"so that the link is displayed properly.

Can I display personalized content based on a clicked link from another page in Sitecore 7.5?

I'm trying to display personalized content on a page IF I have clicked on a specific link on a specific page.
Then, on a page that will contain personalization rules, a piece of personalized content will display, but only if I clicked specific link on a specific page If so, then display a piece of content.
I know there is a way to do this using query string parameters, but this would involve some coding. I don't want to do that, I want to see if there is something out of the box that will let me do this.

Get HITID on Mturk

I would like to know how can I Get the HITID of my surveys of Mturk ? It's easy to see on TurkPrime, but on MTurk I can't seem to find it.
Thank you !
The HITId is not easily accessible on the Requester website, which uses "batches" instead of HITs to organize the interface. If you visit the "Manage HITs Individually" page, you will find a listing of HITs. The HITIds for each are not visible, but you can find them by either:
Doing an "inspect element" action from your browser's context menu on the iframe displaying the HIT. The HITId will be in the URL of the iframe's src attribute, or
Click on "Delete this HIT" (or just copy the link to that page). The HITId is part of the URL.
Another option, which requires that you created the HIT in the requester website (not on TurkPrime or anywhere else) and requires downloading a file, is to click the "Download CSV" for the appropriate batch. The HITId will be listed in the CSV.
Navigate to Manage HIT and select the HIT you want to get her HITID. Press the results button and download the results CSV file. The first two columns in the CSV are HITId and HITTypeId.
You can get it by going here: https://requester.mturk.com/mturk/manageHITs
Then hover over "Delete this HIT":
Right click and copy the URL. Analyze the URL and you'll see the HIT ID as a parameter.
The format will be something like:
https://requester.mturk.com/mturk/manageHIT?viewableEditPane=manageHIT_delete&HITId=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
It's the value after &HITId=
This past week, Mechanical Turk made finding the HITTypeId easier when you use the Requester UI. Here's how it works:
Visit http://requester.mturk.com and login
Click the Create tab
Click "New Batch with Existing Project"
Click on the "Project Name"
A pop up lightbox will appear. It used to show only "Layout ID" and "Layout Parameters" but it now also shows "HITTypeId"
To get the HITIds, the best approach is to download the CSV results which include the HIT IDs for your batch.
Hope that helps!

trying to add a basic like button to my website but the code is not working

I am trying to add a basic like button to my website but the code is not working i am getting the following error: Could not retrieve id for the specified page. Please verify correct href was passed in. I am copying and pasting the url of my Facebook Home page is this incorrect?
This is the code I am entering in the Facebook Page URL box.
http://www.facebook.com/pages/Cheap-CD-Duplications-Inc/135138926577670?sk=app_158086484245654
David your link is to a tab application on your page. You need to remove the sk=app_158....... from the url.
the url you need to use is...
http://www.facebook.com/pages/Cheap-CD-Duplications-Inc/135138926577670
Go to here: http://developers.facebook.com/docs/reference/plugins/like/
Paste your URL into "URL to Like" field and press "Get Code" button.
Copy the code and paste it on your web site, wherever you want to display it.