mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 14:11:10 +00:00
Every campaign has an end.
Drop ahoy, because it's more trouble than it's worth. This means dropping visits, campaigns, targets. Campaigns are better run to analytics, such as: * https://matomo.org/docs/tracking-campaigns/ * https://matomo.org/docs/tracking-goals-web-analytics/ * https://support.google.com/analytics/answer/1012040?hl=en
This commit is contained in:
parent
62056fc044
commit
b11001cdba
47 changed files with 19 additions and 1420 deletions
|
|
@ -89,31 +89,6 @@ $(function () {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Opens a prompt with the URL to copy to clipboard.
|
||||
* Used in the campaign index view.
|
||||
*/
|
||||
$('.copyLink').on('click', function(){
|
||||
var url = $(this).data('url');
|
||||
copyToClipboard(url);
|
||||
})
|
||||
function copyToClipboard(text) {
|
||||
window.prompt("Copy to clipboard: Ctrl+C, Enter", text);
|
||||
}
|
||||
|
||||
/**
|
||||
* Toggles the targets on the conference site with a more / less link.
|
||||
*/
|
||||
$('.show_targets').click(function () {
|
||||
if($(this).text().trim() == 'more'){
|
||||
$(this).text("less");
|
||||
}else{
|
||||
$(this).text("more");
|
||||
}
|
||||
$('#' + $(this).data('name')).toggle();
|
||||
});
|
||||
|
||||
$(".comment-reply-link").click(function(){
|
||||
$(".comment-reply", $(this).parent()).toggle();
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue