Skip to content

Commit

Permalink
Add Unsplash UTM
Browse files Browse the repository at this point in the history
  • Loading branch information
beatles1 committed Apr 24, 2023
1 parent ebdcca3 commit b31322b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Clean Tab/js/newtab.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ window.onload = function() {
// Quotes
function displayQuote() {
document.getElementById("unsplashLink").textContent = localStorage.getItem("unsplashUserName");
document.getElementById("unsplashLink").href = localStorage.getItem("unsplashUserURL");
document.getElementById("unsplashLink").href = localStorage.getItem("unsplashUserURL") + "?utm_source=CleanTab&utm_medium=referral";
}

if (useQuote) {
Expand Down
2 changes: 1 addition & 1 deletion Clean Tab/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"manifest_version": 2,
"name": "Clean Tab - New Tab Page",
"short_name": "Clean Tab",
"version": "0.52",
"version": "0.53",
"author": "Edward Bowden",
"homepage_url": "https://edwardbowden.uk"
}
2 changes: 1 addition & 1 deletion Clean Tab/newtab.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<div id="alignBottom">
<div contentEditable="true" id="pad" data-text="Notes..."></div>
<div id="quote">"<a href="#" id="unsplashLink"></a> - Unsplash</div>
<div id="quote"><a href="#" id="unsplashLink"></a> - <a href="https://unsplash.com/?utm_source=CleanTab&utm_medium=referral">Unsplash</a></div>
</div>

<div id="options">
Expand Down

0 comments on commit b31322b

Please sign in to comment.